#-*- coding:utf-8 -*-

# if __name__ == '__main__':
#     print "hello,world"

class A:
    pass

class B:
    pass

class C(A):
    pass

class D(A,B):
    pass

def dump(object):
    print object, "=>",
    if isinstance(object, A):
        print "A",
    if isinstance(object, B):
        print "B",
    if isinstance(object, C):
        print "C",
    if isinstance(object, D):
        print "D",
    print

a = A()
b = B()
c = C()
d = D()

dump(a)
dump(b)
dump(c)
dump(d)
dump(0)

dump("string")


print isinstance("1", str)


